<?

require(dirname(__FILE__) . '/application.php');

bf::$application->config = array(
	'db-engine' => 'postgresql',
	'mailer-engine' => 'sock',
	'sms-engine' => 'smsc',
	'session' => array(
		'save-path' => dirname(__FILE__) . '/../tmp/sessions',
		'expiration-time' => 60*60*6, // 6 hours
	),
);

require(dirname(__FILE__) . '/cache.php');
require(dirname(__FILE__) . '/mime.php');
require(dirname(__FILE__) . '/db.' . bf::$application->config['db-engine'] . '.php');
require(dirname(__FILE__) . '/htmail.' . bf::$application->config['mailer-engine'] . '.php');
require(dirname(__FILE__) . '/sms.' . bf::$application->config['sms-engine'] . '.php');

?>